#include "Game.h"
#include <crtdbg.h>
#undef main
int cdecl main(int _Argc, char** argc)
{
    // Enable run-time memory check for debug builds.
#if defined(DEBUG) | defined(_DEBUG)
    _CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
#endif
    int ret = TheGame::Instance()->Execute();
    TheGame::Kill();
    return ret;
}